package com.csl.testjetpack.data.bean

import androidx.room.Embedded
import androidx.room.Relation

//一对多关系
data class RemoteAndButton(
    //1对多
    @Embedded
    val remote: RemoteInfo,
    @Relation(parentColumn = "id", entityColumn = "remote_id")
    val btnInfo: List<RemoteButtonInfo> = emptyList()

////1对1
//    @Embedded
//    val remote: RemoteInfo,
//    @Relation(parentColumn = "id", entityColumn = "remote_id")
//    val btnInfo: RemoteButtonInfo


) {

}